rem 操作 CLASSES_ROOT 需要管理员权限

reg add "HKEY_CLASSES_ROOT\m2pap" /ve /t REG_SZ /d "m2pap" /f
reg add "HKEY_CLASSES_ROOT\m2pap" /v "URL Protocol" /t REG_SZ /d "123" /f

reg add "HKEY_CLASSES_ROOT\m2pap\DefaultIcon" /ve /t REG_SZ /d "D:\client\m2_pap\bin\m2pap.exe" /f

reg add "HKEY_CLASSES_ROOT\m2pap\shell\open\command" /ve /t REG_SZ /d "\"D:\client\m2_pap\bin\m2pap.exe\" \"%1\"" /f